package com.pacai.homework;

/**
 * @author pacai
 * @version 1.0
 */
public class HomeWork07 {
    public static void main(String[] args) {
        System.out.println(new Dog("相望", "黄色", 5).show());

    }
}


class Dog{
    private String name;
    private String color;
    private int age;

    public Dog(String name, String color, int age) {
        this.name = name;
        this.color = color;
        this.age = age;
    }

    public String show(){
        return this.name + this.color + this.age;
    }

}